package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成绩对象 t_score
 *
 * @author ruoyi
 * @date 2025-02-27
 */
public class TScore extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 分数
     */
    @Excel(name = "分数")
    private Double divide;

    /**
     * 项目
     */
    private Long project;
    @Excel(name = "项目")
    private String dict_label;
    /**
     * 学生id
     */
    private Long studentId;
    @Excel(name = "班级")
    private String className;
    @Excel(name = "院系")
    private String majorName;
    @Excel(name = "学生姓名")
    private String studentName;


    private Double score;

    public String getDict_label() {
        return dict_label;
    }

    public void setDict_label(String dict_label) {
        this.dict_label = dict_label;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public Double getDivide() {
        return divide;
    }

    public void setDivide(Double divide) {
        this.divide = divide;
    }

    public Long getProject() {
        return project;
    }

    public void setProject(Long project) {
        this.project = project;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getStudentId() {
        return studentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("divide", getDivide())
                .append("project", getProject())
                .append("studentId", getStudentId())
                .toString();
    }
}
